var default_config = require('../config/deault.js');
var mongoose = require('mongoose');
mongoose.Promise = require('bluebird');
mongoose.connect(default_config.mongodb);
module.exports = {
	mongoose:mongoose
};